lcBlockAddBarcode Home

Adds a new barcode object into a block.

 HANDLE lcBlockAddBarcode (
   HANDLE hBlock,
   int BarType,
   double Xc,
   double Yc,
   double Width,
   double Height,
   LPCWSTR szText
 );

Parameters
hBlock
  Handle to a block.
BarType
  barcode type.
Xc Yc
  Center point.
Width
  Barcode width.
Height
  Barcode height.
szText
  Text string. encoded in barcode.

Return Value

  Handle to created barcode object or NULL if the function fails.

See Also

  Code sample